<%@page import="java.util.List"%>
<%@page import="com.itwill.ecom.boardReply.BoardReplyBeans"%>
<%@page import="com.itwill.ecom.boardReply.BoardReplyServiceImpl"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%
	WebApplicationContext webContext = WebApplicationContextUtils.getWebApplicationContext(application);
	BoardReplyServiceImpl boardReplyService=(BoardReplyServiceImpl)webContext.getBean("boardReplyService");
	
	List<BoardReplyBeans> tempList = boardReplyService.getReplyByBoardNo(5);
	
	for(BoardReplyBeans temp : tempList){
%>
	
	<%= temp.getBreply_no() %> | <%= temp.getBreply_boardno() %> | <%= temp.getBreply_date() %> | <%= temp.getBreply_id() %> | <%= temp.getBreply_recommend() %> | <%= temp.getBreply_content() %>
	<br/>
	
<%
	}
%>